﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using Facebook;

namespace Cheenti
{
    public partial class CheentiMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            //var client = new FacebookClient();
            //dynamic me = client.Get("me");

            if (HttpContext.Current.Session["AccessToken"] == null)
            {
                //var accessToken = HttpContext.Current.Request["accessToken"];
                //HttpContext.Current.Session["AccessToken"] = accessToken;
                //Facebook.FacebookClient c = new Facebook.FacebookClient(ConfigurationManager.AppSettings["appId"], ConfigurationManager.AppSettings["appSecret"]);
            }
        }

        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
        }
    }
}